package cn.jsu.oj.dispatchServer.satellite.pojo.net;

import java.io.Serializable;
import java.util.Arrays;

/**
 * json net包
 *
 * @author shan
 * @date 2022/07/09
 */

public class JsonNet extends AbsPackNet implements Serializable {
    
    private static final String JSON = "JSON";
    
    private byte[] response;

    public JsonNet() {
    }

    public JsonNet(byte[] response) {
        this.response = response;
    }

    public static String getJSON() {
        return JSON;
    }

    public byte[] getResponse() {
        return response;
    }

    public void setResponse(byte[] response) {
        this.response = response;
    }

    @Override
    public String toString() {
        return "JsonNet{" +
                "response=" + Arrays.toString(response) +
                '}';
    }
}
